package com.sf.fy.uav.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sf.fy.uav.user.entity.RewardBill;

import java.math.BigDecimal;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LTQ
 * @since 2023-08-24
 */
public interface IRewardBillService extends IService<RewardBill> {
    /**
     * 统计当天所有用户总提现金额
     *
     * @return
     */
    BigDecimal getTotalDailyWithdrawal();

    /**
     * 统计某用户当天的总提现金额
     *
     * @param userId
     * @return
     */
    BigDecimal getDailyWithdrawalByUserId(String userId);
}
